FROM openjdk:8-jre
MAINTAINER koala 1241169737@qq.com
ENV LANG C.UTF-8
COPY target/koala-gateway.jar /

RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone && \
    RUN chmod 755 /koala-gateway.jar
EXPOSE 8080
ENTRYPOINT ["java", "-Xmx128m", "-jar", "/koala-gateway.jar"]
